/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package org.brainstretch.models.quizzes;

import java.io.Serializable;
import java.util.List;
import javax.persistence.*;
import javax.xml.bind.annotation.XmlRootElement;

/**
 *
 * @author mrodaitis
 */
@Entity
@XmlRootElement
public class MultipleChoiceQuestion extends Question implements Serializable {
    private static final long serialVersionUID = 1L;

    @OneToMany(cascade= CascadeType.ALL)
    private List<Answer> answerChoices;

}
